package com.dalonedrow.engine.ui.impl;

import com.dalonedrow.engine.sprite.base.SpriteBase;
import com.dalonedrow.engine.ui.base.GuiTextItemImpl;

/**
 * Label implementation. Can display icons or multi-line text
 * @author Donald
 */
public final class Label extends GuiTextItemImpl {
	/**
	 * Creates a new instance of Label.java with text.
	 * @param font the font used
	 * @param newText the text to display
	 * @param debug the flag indicating whether the Label needs debugging 
	 * turned on
	 */
	public Label(final String font, final String newText, final boolean debug) {
		super(font, newText);
		super.setDebug(debug);
		getPreferredSize();
	}
	/**
	 * Creates a new instance of Label.java with text.
	 * @param font the font used
	 * @param newText the text to display
	 */
	public Label(final String font, final String newText) {
		super(font, newText);
		getPreferredSize();
	}
	/**
	 * Creates a new instance of Label.java.
	 * @param sprite the {@link Sprite} displayed by this {@link Label}
	 */
	public Label(final SpriteBase sprite) {
		this(null, null);
		super.setSprite(sprite);
		getPreferredSize();
	}
	/**
	 * {@inheritDoc}
	 */
	public void animate() {
		// TODO Auto-generated method stub

	}
	/**
	 * {@inheritDoc}
	 */
	public void move() {
		// TODO Auto-generated method stub

	}
}
